@echo off

:1

gen.exe 10 10000 > in
run -t 5s kunique3.exe 
if not errorlevel 0 goto 2
goto 1
:2